﻿using System;
using System.Collections.Generic;
using System.Text;
using AnguaRPGEngine.Library.Systems;

namespace AnguaRPGEngine.Library.Configuration
{
    [Serializable]
    public class ClientConfiguration
    {
        public List<FormPosition> FormPositions = new List<FormPosition>();
        public static ClientConfiguration LoadClientConfiguration()
        {
            return Serializer<ClientConfiguration>.DeserializeFromFile(GameSystem.Instance.ConfigurationFSpec);
        }
        public static void SaveClientConfiguration(ClientConfiguration config)
        {
            Serializer<ClientConfiguration>.SerializeToFile(config, GameSystem.Instance.ConfigurationFSpec);
        }
    }
}
